import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: () => import('@/views/home')
    },
    {
      path: '/title',
      name: 'title',
      component: () => import('@/views/titleMarket')
    },
    {
      path: '/win8',
      name: 'win8',
      component: () => import('@/views/win8')
    },
    {
      path: '/test',
      name: 'test',
      component: () => import('@/components/dark-mode')
    },
    {
      path: '/menu',
      name: 'menu',
      component: () => import('@/components/down-menu')
    },
    {
      // src/components/tab-bar-menu/index.vue
      path: '/tab',
      name: 'tab',
      component: () => import('@/components/tab-bar-menu')
    },
    {
      path: '/blog',
      name: 'blog',
      component: () => import('@/components/blog-card')
    }
    // src/components/car-button/index.vue
  ]
})
